//
//  ShopcartModel.h
//  B2C
//
//  Created by 李小龙 on 2017/8/8.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GoodsAttributePriceModel.h"
#import "GoodsPriceTaidModel.h"
#import "GoodAttributeModel.h"

@interface AttributeModel : NSObject
@property (nonatomic, copy) NSString *taname; // 属性名
@end

@interface ShopcartModel : NSObject

@property (nonatomic, assign) BOOL isSelect;

@property (nonatomic, copy) NSString *gnumber;      // 商品编号
@property (nonatomic, copy) NSString *gname;        // 商品名称
@property (nonatomic, copy) NSString *gid;          // 商品id
@property (nonatomic, copy) NSString *gextension;   //商品推广信息
@property (nonatomic, copy) NSString *gimg;         // 商品图片
@property (nonatomic, copy) NSString *scid;         // 购物车id
@property (nonatomic, assign) BOOL isshelves;       // 是否上架（0否1是）
@property (nonatomic, copy) NSString *number;       // 数量
@property (nonatomic, copy) NSString *gaoldprice;   // 原价
@property (nonatomic, copy) NSString *gaprice;      // 现价
@property (nonatomic, copy) NSString *gastock;      // 库存
@property (nonatomic, copy) NSString *allprice;     // 总价

// 型号
@property (nonatomic, copy) NSString *gaid;        // 价格id
@property (nonatomic, copy) NSMutableArray<GoodAttributeModel *> *attribute;
@property (nonatomic, strong) NSMutableArray<GoodsAttributePriceModel *> *goodsattribute;
@property (nonatomic, strong) NSMutableArray<GoodsPriceTaidModel *> *goodspricetaid;
@property (nonatomic, strong) NSMutableArray<AttributeModel *> *twoattribute; // 属性


@end
